
BEGIN{
	IGNORECASE = 1
}


$2 ~/cgx/{
	val = $3
	gsub(/,/,"",val)
	printf("%06d\t%s\n",val,toupper($6))
}

{next}

#$2 ~/map/||$2 ~/cad/||$2 ~/cel/{
$2 ~/^map$/{
	eval="cntbyte ..\\"$6
#	eval="batch\\cntbyte "$6
	eval|getline bytes
	close(eval)
	printf("%04d\t%s\n",bytes,toupper($6))
}
